<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <meta charset="utf-8">
    <title>{{$data.title}} - 后台管理</title>
    <link href="{{$smarty.const.APP_URL}}templates/admin/css/admin.css" type="text/css" rel="stylesheet">
    <link href="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/black.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/jquery.artDialog.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/admin.js"></script>
    <script type="text/javascript">
        var this_uri = "/user/label";
    </script>
</head>
<body>

<div id="header">
    <div class="logo"><a href="/"><img src="{{$smarty.const.APP_URL}}templates/admin/images/logo.png" title="后台首页"></a></div>
    <div class="loading"><div id="ajax-loader" title="Ajax数据更新中..."></div></div>
    <div id="topbar">
        <!--顶部菜单 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topmenu.html"}}
        <!--顶部菜单 end-->
        <!--顶部右侧 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topuser.html"}}
        <!--顶部右侧 end-->
        <div></div>
    </div>
</div>

<div><!-- 外层添加一个DIV解决IE8下margin-top的问题 -->
    <table id="maintable" cellpadding="0" cellspacing="0">
        <tbody><tr>
            <!--左侧菜单 start-->
            {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/leftmenu.html"}}
            <!--左侧菜单 end-->
            <!--主要TD start-->
            <td class="maintd" valign="top">
                <div class="maindiv">
                    <div id="main">
                        <div class="itemtitle">
                            <h3>用户标签</h3>
                            <ul>
                                <a class="link-btn" href="/user/add">添加标签</a>
                            </ul>
                        </div>
                        
                        <form name="usersform" action="/index.php/users/updateusers" method="post">
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">全部标签列表</td>
                                </tr>
                                <tr class="tr0">
                                    <td class="td">排序</td>
                                    <td class="td">标签名</td>
                                    <td class="td">是否推荐</td>
                                    <td class="td">操作</td>
                                </tr>
                                <tr>
                                    <td class="td">1</td>
                                    <td class="td">
                                        <input type="hidden" value="1" name="updateuserids[]">
                                        <a href="/index.php/users/edit?userid=1">宅</a>
                                    </td>
                                    <td class="td">
                                        否
                                    </td>
                                    <td class="td last">
                                        <a href="#">编辑</a>|<a href="#">删除</a>|<a href="#">查看会员</a>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">2</td>
                                    <td class="td">
                                        <input type="hidden" value="2" name="updateuserids[]">
                                        <a href="/index.php/users/edit?userid=1">专业</a>
                                    </td>
                                    <td class="td">
                                        是
                                    </td>
                                    <td class="td last">
                                        <a href="#">编辑</a>|<a href="#">删除</a>|<a href="#">查看会员</a>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">3</td>
                                    <td class="td">
                                        <input type="hidden" value="1" name="updateuserids[]">
                                        <a href="/index.php/users/edit?userid=1">精品</a>
                                    </td>
                                    <td class="td">
                                        是
                                    </td>
                                    <td class="td last">
                                        <a href="#">编辑</a>|<a href="#">删除</a>|<a href="#">查看会员</a>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">4</td>
                                    <td class="td">
                                        <input type="hidden" value="1" name="updateuserids[]">
                                        <a href="/index.php/users/edit?userid=1">认证</a>
                                    </td>
                                    <td class="td">
                                        是
                                    </td>
                                    <td class="td last">
                                        <a href="#">编辑</a>|<a href="#">删除</a>|<a href="#">查看会员</a>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">5</td>
                                    <td class="td">
                                        <input type="hidden" value="1" name="updateuserids[]">
                                        <a href="/index.php/users/edit?userid=1">夜猫子</a>
                                    </td>
                                    <td class="td">
                                        否
                                    </td>
                                    <td class="td last">
                                        <a href="#">编辑</a>|<a href="#">删除</a>|<a href="#">查看会员</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                          <!--   <div class="submit">
                              <input class="save" type="submit" value="保存更新" name="updateusers">
                              <input class="cancel" type="submit" value="删除用户" onclick="var _me=$(this);$.dialog({title:'操作确认',lock:true,content:'确定删除所选用户吗?<br><br><span class=red>注: 这里删除用户, 用户发表的信息不会被删除!</span>',okValue:' 确定 ',ok:function(){_me.closest('form').submit();},cancelValue:'取消',cancel:true});return false;" name="deleteusers">
                          </div> -->
                        </form>
                        <!--底部信息 start-->
                        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/sysinfo.html"}}
                        <!--底部信息 end-->
                    </div>
                </div>
            </td>
            <!--主要TD end-->
        </tr>
        </tbody></table>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        //调整高度
        $("#container").height($(window).height()-40);
        $(window).resize(function() {
            $("#container").height($(window).height()-40);
        });

        App.init();//左侧菜单初始化

        var a101 = $("#topbar"); //顶部下接菜单
        a101.find("dl").Jdropdown({delay: 0}, function(a){});

        //全选checkbox
        $("#checkAll").click(function(e){
            $("input[name='" + $(this).attr("for") + "']").attr("checked", this.checked);
        });
    });
</script>
</body>
</html>